/*
 * preprocessor.h
 *
 *  Created on: 07/11/2010
 *      Author: dela
 */

#ifndef PREPROCESSOR_H_
#define PREPROCESSOR_H_

#include "../domain/graph.h"

#if !defined(NO_EXISTE_CAMINO_MINIMO)
#define NO_EXISTE_CAMINO_MINIMO -2
#endif

#if !defined(FILMS_SUFFIX)
#define FILMS_SUFFIX "_films"
#endif

#if !defined(PERSON_SUFFIX)
#define PERSON_SUFFIX "_person"
#endif

#if !defined(NAME_MAX_LENGTH)
#define NAME_MAX_LENGTH 75
#endif

/**
 *
 */
void preprocessor_generateMatrix( TGraph *graph, char *fileName, int maxPersonId );

void preprocessor_generateFiles( TListaSimple* films, TListaSimple* people, char *filename_prefix);

#endif /* PREPROCESSOR_H_ */
